<!DOCTYPE html>
<html lang="zh-cn">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>{$get.search}-{$config.setup.name}</title>
    <meta name="keywords" content="{$config.setup.seokeywords}" />
    <meta name="description" content="{$config.setup.seodescription}" />
     {include:link}
  </head>
  <body>
  
{include:zh.head}
    {include:zh.bannabg}
 
    <!-- main -->
        <div class="container">    
            <div class="row">

            <!-- right -->
            <div class="col-xs-12 col-sm-8 col-md-9" style="float:right">
          
                    <div class="list_box"> 
                      <h2 class="left_h">产品搜索</h2>
	
								
                    <div class="product_list product_list2">
					 {php $s=0}
                     {column=>("name"=>"zh.product.soso","table"=>"product","sort"=>"DESC","rows"=>"12","where"=>" [ name LIKE '%$get.search%' or content LIKE '%$get.search%'] ") as $vo}
                        {php $s++}
                         <div class="col-sm-4 col-md-3 col-mm-6 product_img">
                             <a href="{@jmp('zh',$vo['static_url'])}">
                               <img    src="{$vo.graph}" class="img-thumbnail" alt="{$vo.name}"/>
                             </a>
                             <p class="product_title"><a href="{@jmp('zh',$vo['static_url'])}" title="{$vo.name}">{$vo.name}</a></p>
                         </div>
                     {/column}
					 
					 {if $s==0}
					 <div class="col-sm-4 col-md-3 col-mm-6 product_img">
					     抱歉没有搜索你要的内容！
					 </div>
					 {/if}
					 
                     
                    </div>
{if $s > 0}
                    <div class="page">     
                 <a href="javacript:void(0);">共{$page.rows}条</a>
                 	<a href="javacript:void(0);">总{$page.pages}页</a>
                 	<a href="javacript:void(0);">第{$page.current}页</a>
                    {if $page.current > 1}
                    <a href="{@jmp('zh','search',$page.current-1)}">上一页</a>
                    {/if}
                    {page page as $i}
                    
                      {if $page.current == $i['number']}
                      <span class="current">{$i.number}</span>
                      {else}
                 	 
                 	 <a href="{@jmp('zh','search',$i['number'])}">{$i.number}</a>
                 	 {/if}
                    
                    {/page}
                    
                    
                 {if $page.pages != $page.current and $page.pages > 0}
                 <a href="{@jmp('zh','search',$page.current+1)}">下一页</a>
                 {/if}          
                    </div> {/if}
                        
                    </div>
                </div>

                <!-- left -->
                <div class="col-xs-12 col-sm-4 col-md-3">
                
                  <!--  <div class="left_nav" id="categories">
                      <h2 class="left_h">导航栏目</h2>
                   
                    </div> -->

                    <div class="left_news">
                      <h2 class="left_h">新闻中心</h2>
                     {include:zh.news}
                    </div>
                          	{include:zh.contact} 
                </div>

            </div>
        </div> 
    
  {include:zh.bottom}

  </body>
</html>
